package jrain.fw.core.log;

 
/**
 * <pre>
 * 作者：3244924214@qq.com 
 * 描述： 日志服务接口
 * </pre>
 */
public interface Logger {

	public boolean isTraceEnabled();

	public boolean isDebugEnabled();

	public boolean isInfoEnabled();

	public boolean isWarnEnabled();

	public boolean isErrorEnabled();
	// trace-----------------------------------------------------

	public void trace(String msg);

	public void trace(String format, Object... argArray);

	// debug-----------------------------------------------------
	public void debug(String msg);

	public void debug(String format, Object... argArray);

	public void debug(String msg, Throwable t);

	// info-----------------------------------------------------
	public void info(String msg);

	public void info(String format, Object... argArray);

	public void info(String msg, Throwable t);

	// warn-----------------------------------------------------
	public void warn(String msg);

	public void warn(String format, Object... argArray);

	public void warn(String msg, Throwable t);

	// error-----------------------------------------------------
	public void error(String msg);

	public void error(String format, Object... argArray);

	public void error(String msg, Throwable t);

}
